﻿@{
    View.Title = Strings.Products + " - " + Strings.Create;
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>@Strings.Products &nbsp;&raquo;&nbsp; @Strings.Create</h2>

<form action="" method="post" enctype="multipart/form-data">
  
  <label for="file">@ModelStrings.Position:</label>
  <input type="text" name="position"/>
  <br />
  <br />
  <label for="file">@ModelStrings.Path:</label>
  <input type="file" name="file" id="file" />
  <br />
  <br />
  <input type="hidden" name="productId" value="@ViewData["productId"]" />

    <p>
        <input type="submit" value="@Strings.UploadPhoto" /> |
   @Html.ActionLink(Strings.BackToList, "Details", "Products", new { id = ViewData["productId"] }, new { @class = "icon-button prev-icon" })
    </p>
</form>
